﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Seas.Core;

namespace TimeTabling.Core
{
    class User : Basic
    {
        /// <summary>
        /// Lista de aulas del centro (coleccion)
        /// </summary>
        public string DNI { get; set; }


        /// <summary>
        /// Lista de aulas del centro (coleccion)
        /// </summary>
        public string Name { get; set; }


        /// <summary>
        /// Lista de aulas del centro (coleccion)
        /// </summary>
        public string Surname { get; set; }


        /// <summary>
        /// Lista de aulas del centro (coleccion)
        /// </summary>
        public string Adress { get; set; }


        /// <summary>
        /// Lista de aulas del centro (coleccion)
        /// </summary>
        public string Phone { get; set; }


        /// <summary>
        /// Lista de aulas del centro (coleccion)
        /// </summary>
        public Center Center { get; set; }

        /// <summary>
        /// Lista de cursos
        /// </summary>
        public IList<Course> course { get; set; }
        /// <summary>
        /// Lista de aulas del centro (coleccion)
        /// </summary>
        ///
        public IList<Course> Course
        {
            get
            {
                if (course == null)
                {
                    course = new List<Course>();
                }
                return course;
            }
            set
            {
                course = value;
            }
        }


    }
}
